//
//  Control.h
//  NXTRemoteController
//
//  Created by naceka on 14.05.12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Robot.h"

@interface Control : UIView {
	UILabel * speedLabel;
	UISlider * speedSlider;
	Robot * robot;
	int speed;
}
- (id)initWithFrame:(CGRect)frame andRobot:(Robot *) r;
- (IBAction) sliderMoved:(id) sender;
- (IBAction) moveForward:(id) sender;
- (IBAction) moveBackward:(id) sender;
- (IBAction) moveLeft:(id) sender;
- (IBAction) moveRight:(id) sender;
- (IBAction) stop:(id) sender;
@end
